<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%
'#-------------------------------------------------------------------------------#
'#  Description:       KIR-Add a disease association study.                      #
'#                     Code:      dis2001a.asp                                   #
'#  Authors:           Louise Yukari Cicalise Takeshita							 #
'#  Created:           19 Jun 2012                                               #
'#  Ended:             19 Jun 2012                                               #
'#  Last update:       19 Jun 2012                                               #
'#  Version:           1.0.0 - 19-Jun-2012                                       #
'#  Bugs:                                                                        #
'#-------------------------------------------------------------------------------#
%>

<!-- PAGE DESCRIPTION -->
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="Description" content="Allele Frequencies Website" />
<meta name="Keywords" content="HLA, KIR, frequencies, allele, disease, association" />
<link rel="shortcut icon" href="../images/favicon.ico" />
<title>The Allele Frequency Net Database [Add Disease Association Study] </title>

<!-- CSS STYLE SHEETS -->
<link rel="stylesheet" type="text/css" href="../styles/format.css" />

<!-- ROUTINES -->
<script type="text/javascript" src="../routines/dis2001a.js"> </script>
<script type="text/javascript" src="../routines/dis2001b.js"> </script>

</head>

<body>

<%'-------------------------------------- M A I N    F R A M E W O R K ------------------------------------%>

<div style="width:950px; margin:0 auto; padding:5px 0px 5px 0px;">

<%'-------------------------------------- B O R D ER    F R A M E W O R K ---------------------------------%>
<div style="border:1px solid #0066FF;">    

<%
'#-----------------------------#
'#       H E A D E R           #
'#-----------------------------#
%>

<div id="divGenHeader">
		<table class="table10">
           <tr>
				<td><a href="../default.asp"><img src="../images/banner.gif" alt="Allele Frequencies in World Populations" /></a></td>
		  </tr>
		</table>
</div>		

<%
'#-----------------------------#
'#   PROGRAM NAME              #
'#-----------------------------#
%>
<div id="divGenProg">
	<h2>KIR and diseases &raquo; Add New Disease Association Study</h2>
</div>

<%
'#-----------------------------#
'#   INSTRUCTIONS              #
'#-----------------------------#
%>
<div id="divGenInstructions">
	<h6>Instructions: Add Demographic Data</h6><br />
	Please provide demographic data regarding your KIR and diseases association study by completing the form below. 
	<br /><br />
	<b>Note that we also accept submissions of studies where no association with KIR genes was found.</b>
    <br />

</div>

<%
'#-----------------------------#
'#   NAVIGATION OPTIONS        #
'#-----------------------------#
%>
<div id="divGenNavig">	
<h2 style="line-height:25px">Demographic Data &raquo; <span style="color:#999">Frequency Data &raquo; Raw Data &raquo; Confirmation</span></h2>
</div>

<%
'#------------------------------#
'#   SUBMISSION FORM	        #
'#------------------------------#
%>
<div id="divGenDetail">
<form method="post" action="dynfields.asp" enctype="multipart/form-data" accept-charset="utf-8" name="form_dis" onSubmit="return valMandatoryFields(this)">
<!-- #include file = "curOpenDB_01.asp" -->
<!-- #include file = "curOpenRS_01.asp" -->
<%
iDis_id = 0
	SQL = "SELECT TOP 1 dis_id FROM disassoc ORDER BY dis_id desc"
	rsRecordset.Open SQL, dbConnection
	If Not rsRecordset.EOF Then
		iDis_id = CDbl(rsRecordset("dis_id"))
	End If
	iDis_id = iDis_id + 1
%>
<!-- #include file = "curCloseRS_01.asp" -->
<!-- #include file = "curCloseDB_01.asp" -->
<input type="hidden" name="dis_id" id="dis_id" value="<%=iDis_id%>" />
<table class="table11" style="margin-left: auto;   margin-right: auto;">	
<tr>
<td>
	<table class="table04" style="table-layout:fixed">
    <col width="1" />
    <col width="150" />
    <col width="305" />

	
<!-- Disease List Option -->
<tr>
	  <td></td>
	  <td colspan="2"><h4 style="color:#036; padding:3px">Studied disease:</h4></td>
	  </tr>
	
    <tr><td>*</td><td><b>Disease:</b></td><td><select style="width:305px" name="mesh" id="mesh" onchange="fctCheckValues();" lang="1" onFocus="changeFieldColor(this,'white')">
		<option value=" + ">select disease</option>
        <option value="other+other">Other</option>		
		<option value="C01.252.400.511+Abortion, Habitual (Recurrent Miscarriage)">Abortion, Habitual (Recurrent Miscarriage)</option>
		<option value="C01.252.410.40.552.386+Abortion, Spontaneous (Miscarriage)">Abortion, Spontaneous (Miscarriage)</option>
		<option value="C02.182.600.600+Angina Pectoris">Angina Pectoris</option>
		<option value="C02.256.430.400.100+Arthritis, Psoriatic">Arthritis, Psoriatic</option>
		<option value="C02.256.466.245+Arthritis, Rheumatoid">Arthritis, Rheumatoid</option>
		<option value="C02.256.650+Behcet Syndrome">Behcet Syndrome</option>
		<option value="C02.440.440+Carcinoma, Hepatocellular">Carcinoma, Hepatocellular</option>
		<option value="C02.782.350.350.120+Celiac Disease">Celiac Disease</option>
		<option value="C02.782.417.415+Cervical Intraepithelial Neoplasia">Cervical Intraepithelial Neoplasia</option>
		<option value="C02.928.313+Colitis, Ulcerative">Colitis, Ulcerative</option>
		<option value="C03.752.530+Colorectal Neoplasms">Colorectal Neoplasms</option>
		<option value="C04.557.337.428.580.49+Crohn Disease">Crohn Disease</option>
		<option value="C04.557.337.539.250+Cytomegalovirus Infections">Cytomegalovirus Infections</option>
		<option value="C04.557.337.539.550+Diabetes Mellitus, Type 1">Diabetes Mellitus, Type 1</option>
		<option value="C04.557.386.480+Diabetes Mellitus, Type 2">Diabetes Mellitus, Type 2</option>
		<option value="C04.557.470.200.240.250+Endometriosis">Endometriosis</option>
		<option value="C04.557.470.670.590.650.550+Epstein-Barr Virus Infections">Epstein-Barr Virus Infections</option>
		<option value="C04.557.470.700.600+Familial Mediterranean Fever">Familial Mediterranean Fever</option>
		<option value="C04.557.665.510+Fatigue Syndrome, Chronic">Fatigue Syndrome, Chronic</option>
		<option value="C04.588.274.476.411.307+Gastritis">Gastritis</option>
		<option value="C04.588.274.623.160+Graft vs Host Disease">Graft vs Host Disease</option>
		<option value="C04.588.443.665.481+Graves Disease">Graves Disease</option>
		<option value="C04.588.805+Hemorrhagic Fever, Ebola">Hemorrhagic Fever, Ebola</option>
		<option value="C04.588.894.797.520+Hepatitis B, Chronic">Hepatitis B, Chronic</option>
		<option value="C04.588.945.418.948.850+Hepatitis C">Hepatitis C</option>
		<option value="C04.588.945.947.960+Hepatitis C, Chronic">Hepatitis C, Chronic</option>
		<option value="C05.550.114.145+HIV Infections">HIV Infections</option>
		<option value="C05.550.114.606+Ischemic Attack, Transient">Ischemic Attack, Transient</option>
		<option value="C05.550.114.865.800.850+Laryngeal Neoplasms">Laryngeal Neoplasms</option>
		<option value="C06.405.469.432.249+Leprosy">Leprosy</option>
		<option value="C06.405.469.432.500+Leptospirosis">Leptospirosis</option>
		<option value="C06.405.469.637.250+Leukemia, Large Granular Lymphocytic">Leukemia, Large Granular Lymphocytic</option>
		<option value="C06.405.748.398+Leukemia, Myelogenous, Chronic, BCR-ABL Positive">Leukemia, Myelogenous, Chronic, BCR-ABL Positive</option>
		<option value="C06.552.630+Leukemia, Myeloid, Acute">Leukemia, Myeloid, Acute</option>
		<option value="C07.465.75+Liver Cirrhosis">Liver Cirrhosis</option>
		<option value="C10.668.364+Lung Neoplasms">Lung Neoplasms</option>
		<option value="C11.941.879.780.880+Lupus Erythematosus, Systemic">Lupus Erythematosus, Systemic</option>
		<option value="C13.351.500.163+Lymphocytosis">Lymphocytosis</option>
		<option value="C13.703.39+Lymphoma, Non-Hodgkin">Lymphoma, Non-Hodgkin</option>
		<option value="C13.703.39.89+Malaria">Malaria</option>
		<option value="C13.703.395.249+Melanoma">Melanoma</option>
		<option value="C14.280.647.187+Multiple Sclerosis">Multiple Sclerosis</option>
		<option value="C14.280.647.500+Myocardial Infarction">Myocardial Infarction</option>
		<option value="C14.907.253.855+Neuroblastoma">Neuroblastoma</option>
		<option value="C14.907.253.92.836+Obesity">Obesity</option>
		<option value="C14.907.617+Osteoarthritis">Osteoarthritis</option>
		<option value="C14.907.940+Papilloma">Papilloma</option>
		<option value="C15.378.553.475.604+Papillomavirus Infections">Papillomavirus Infections</option>
		<option value="C15.378.71.141.150.875+Paraparesis, Tropical Spastic">Paraparesis, Tropical Spastic</option>
		<option value="C16.320.382.625+Peripheral Vascular Diseases">Peripheral Vascular Diseases</option>
		<option value="C17.800.784+Postoperative Complications">Postoperative Complications</option>
		<option value="C17.800.784.602+Pre-Eclampsia">Pre-Eclampsia</option>
		<option value="C17.800.859.675+Psoriasis">Psoriasis</option>
		<option value="C18.654.726.500+Scleroderma, Diffuse">Scleroderma, Diffuse</option>
		<option value="C19.246.300+Scleroderma, Systemic">Scleroderma, Systemic</option>
		<option value="C20.111.199+Sjogren's Syndrome">Sjogren's Syndrome</option>
		<option value="C20.111.199.774+Skin Neoplasms">Skin Neoplasms</option>
		<option value="C20.111.258.250.500+Spondylitis, Ankylosing">Spondylitis, Ankylosing</option>
		<option value="C20.111.258.925+Stroke">Stroke</option>
		<option value="C20.111.327+Substance Abuse, Intravenous">Substance Abuse, Intravenous</option>
		<option value="C20.111.555+Substance-Related Disorders">Substance-Related Disorders</option>
		<option value="C20.111.590+Thalassemia">Thalassemia</option>
		<option value="C20.452+Urinary Bladder Neoplasms">Urinary Bladder Neoplasms</option>
		<option value="C20.673.480+Uterine Cervical Neoplasms">Uterine Cervical Neoplasms</option>
		<option value="C23.550.767+Uveitis, Anterior">Uveitis, Anterior</option>
		<option value="C25+Uveomeningoencephalitic Syndrome">Uveomeningoencephalitic Syndrome</option>
		<option value="C25.793+Vasculitis">Vasculitis</option>
		</select></td></tr>

<!-- Add a disease name -->
	<tr>
	  <td>&nbsp;</td><td><h5 id="add_dis" style="display:none">Add a new disease name:</h5></td>
		<td><input style="display:none" name="dis_name_new" type="text" id="dis_name_new" size="80" maxlength="80"/></td></tr>
	<tr><td>&nbsp;</td></tr>

<!-- Add Geographic Regions -->
<tr>
	  <td></td>
	  <td colspan="2"><h4 style="color:#036; padding:3px">Sample geographic information:</h4></td>
	  </tr>
	<tr><td></td><td>City:</td><td><input style="width:300px" type="text" name="dis_city" id="dis_city" maxlength="80" size="80"></td></tr>
	<tr><td></td><td>Province:</td><td><input style="width:300px" type="text" name="dis_region" id="dis_region" maxlength="80" size="80"></td></tr>
	
	<tr><td>*</td><td>Country:</td><td><select style="width:305px" name="dis_couxcon" id="dis_couxcon" lang="1" onFocus="changeFieldColor(this,'white')">
		<option value="">select country</option>
																	   
<!-- #include File = "curOpenDB_01.asp" -->
<!-- #include File = "curOpenRS_01.asp" -->
<%
		strSQL = "SELECT DISTINCT couxgeo.cogr_country_name, geogreg.geo_continent FROM couxgeo, geogreg WHERE couxgeo.cogr_geo_region_code = geogreg.geo_code ORDER BY cogr_country_name"
		rsRecordset.Open strSQL, dbConnection
		If Not rsRecordset.EOF Then
			rsRecordset.MoveFirst
		End If
		While Not rsRecordset.EOF	
			sTemp1 = Trim(rsRecordset("cogr_country_name"))
			sTemp2 = Trim(rsRecordset("geo_continent"))
%>
		<option value="<%Response.Write(sTemp1 & "," & sTemp2)%>"><%Response.Write(sTemp1)%></option>
<%
			rsRecordset.MoveNext
		Wend	
%>
<!-- #include File = "curCloseRS_01.asp" -->
<!-- #include File = "curCloseDB_01.asp" -->																	   
		</select></td></tr>

<tr><td>&nbsp;</td></tr>
<tr><td></td><td colspan="2" style="text-align:justify; line-height:15px"><i>Click <a href="#" onclick="window.open('http://tools.freeside.sk/geolocator/geolocator.html',

							'myWin4','personalbar=yes,toolbar=yes,directories=no,location=no,status=no,menubar=yes,resizable=yes,scrollbars=yes,width=1000,height=500');return false;" target="_blank">here</a> to find geographical coordinates. Hold and drag the pinpoint to the desirable location. To adjust the zoom, drag the scrollbar inside the map. Type geographical coordinates in the fields below.</i></td></tr>
<tr><td></td><td>Latitude:</td><td><input type="text" name="pop_lat1_deg" id="pop_lat1_deg" maxlength="10" 

			                                     size="3" value="<%Response.Write(sPop_lat1_deg)%>" onkeypress="return fctDecimalVal();"/>&nbsp;º&nbsp;

											   <input type="text" name="pop_lat1_min" id="pop_lat1_min" maxlength="10" 

			                                     size="2" value="<%Response.Write(sPop_lat1_min)%>" onkeypress="return fctDecimalVal();"/>&nbsp;'&nbsp;

											   <select name="pop_lat1_card" id="pop_lat1_card">

													<option value="" <%If sPop_lat1_card="" Then 

															Response.Write "selected='selected'" 

												   					   End If%>>&nbsp;</option>

													<option value="N" <%If sPop_lat1_card="N" Then 

															Response.Write "selected='selected'" 

												   					   End If%>>N</option>

													<option value="S" <%If sPop_lat1_card="S" Then 

															Response.Write "selected='selected'" 

												   					   End If%>>S</option>

					</select></td></tr>	

			<tr><td></td><td>Longitude:</td><td><input type="text" name="pop_long1_deg" id="pop_long1_deg" maxlength="10" 

			                                     size="3" value="<%Response.Write(sPop_long1_deg)%>" onkeypress="return fctDecimalVal();"/>&nbsp;º&nbsp;

											   <input type="text" name="pop_long1_min" id="pop_long1_min" maxlength="10" 

			                                     size="2" value="<%Response.Write(sPop_long1_min)%>" onkeypress="return fctDecimalVal();"/>&nbsp;'&nbsp;

											   <select name="pop_long1_card" id="pop_long1_card">

													<option value="" <%If sPop_long1_card="" Then 

															Response.Write "selected='selected'" 

												   					   End If%>>&nbsp;</option>

													<option value="E" <%If sPop_long1_card="E" Then 

															Response.Write "selected='selected'" 

												   					   End If%>>E</option>

													<option value="W" <%If sPop_long1_card="W" Then 

															Response.Write "selected='selected'" 

												   					   End If%>>W</option>

					</select></td></tr>

<!-- Add ethnicity -->
<tr><td>&nbsp;</td></tr>
<tr><td></td><td>Ethnicity:</td><td><select style="width:300px" name="dis_eth" id="dis_eth">
		<option value="">select ethnicity</option>
																	   
<!-- #include File = "curOpenDB_01.asp" -->
<!-- #include File = "curOpenRS_01.asp" -->
<%
		strSQL = "SELECT eth_name FROM ethnic ORDER BY eth_name"
		rsRecordset.Open strSQL, dbConnection
		If Not rsRecordset.EOF Then
			rsRecordset.MoveFirst
		End If
		While Not rsRecordset.EOF	
			sTemp = Trim(rsRecordset("eth_name"))
%>
		<option value="<%Response.Write(sTemp)%>"><%Response.Write(sTemp)%></option>
<%
			rsRecordset.MoveNext
		Wend	
%>
<!-- #include File = "curCloseRS_01.asp" -->
<!-- #include File = "curCloseDB_01.asp" -->																	   
		</select></td></tr>
        </table>
    
        
	<table class="table04" style="table-layout:fixed">
    <col width="1" />
    <col width="150" />
    <col width="450" />
    <tr><td>&nbsp;</td></tr>		

<!-- Add Sample Size -->
<tr>
	  <td></td>
	  <td colspan="2"><h4 style="color:#036; padding:3px">Samples:</h4></td>
	  </tr>
    <tr><td></td><td colspan="2" style="text-align:justify; line-height:15px"><i>Read the instructions of how to fill "Sample Size" fields clicking <a href="#" onclick="window.open('dis2001help.asp',
							'myWin4','personalbar=yes,toolbar=yes,directories=no,location=no,status=no,menubar=yes,resizable=yes,scrollbars=no,width=380px,height=450px,left=300,top=300');return false;" target="_blank">
							here</a>.</i></td></tr>  
	<tr><td>*</td><td>Sample Size (n):</td>
	<td>Controls: 
	  <input name="dis_sample_size_ctrls" type="text" id="dis_sample_size_ctrls" value="0" size="6" maxlength="15" onclick="clickclear(this,'0');" onblur="clickrecall(this,'0');" onKeypress="return fctNumVal();" lang="1" onFocus="changeFieldColor(this,'white')">&nbsp;&nbsp;
	&nbsp;&nbsp;&nbsp; Special Controls: <input name="dis_sample_size_spec_ctrls" type="text" id="dis_sample_size_spec_ctrls" value="0" size="6" maxlength="15" onclick="clickclear(this,'0');" onblur="clickrecall(this,'0');" onKeypress="return fctNumVal();" lang="1" onFocus="changeFieldColor(this,'white')"> 
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	Patients: 
	<input name="dis_sample_size_patients" type="text" id="dis_sample_size_patients" value="0" size="6" maxlength="15" onclick="clickclear(this,'0');" onblur="clickrecall(this,'0');" onKeypress="return fctNumVal();" lang="1" onFocus="changeFieldColor(this,'white')"></td></tr>
	
    
	<tr><td>&nbsp;</td></tr>
<tr><td>*</td><td>Sample Source:</td>

<td align="right">
<table class="table04">
<tr>
<td>Controls/Special Controls:</td><td><select lang="1" name="pop_source_ctrls" id="pop_source_ctrls" onFocus="changeFieldColor(this,'white')">

													<option value="" <%If sPop_source="" Then 

															Response.Write "selected='selected'" 

												   					   End If%>>select source</option>

													<option value="Anthropology Study" <%If sPop_source="Anthropology Study" Then 

															Response.Write "selected='selected'" 

												   					   End If%>>Anthropology Study</option>

													<option value="Blood Donor" <%If sPop_source="Blood Donor" Then 

															Response.Write "selected='selected'" 

												   					   End If%>>Blood Donor</option>

													<option value="Bone Marrow Registry" <%If sPop_source="Bone Marrow Registry" Then 

															Response.Write "selected='selected'" 

												   					   End If%>>Bone Marrow Registry</option>

													<option value="Controls for Disease Study" <%If sPop_source="Controls for Disease Study" Then 

															Response.Write "selected='selected'" 

												   					   End If%>>Controls for Disease Study</option>

													<option value="Disease Study Patients" <%If sPop_source="Disease Study Patients" Then 

															Response.Write "selected='selected'" 

												   					   End If%>>Disease Study Patients</option>

													<option value="Solid Organ Unrelated Donors" <%If sPop_source="Solid Organ Unrelated Donors" Then 

															Response.Write "selected='selected'" 

												   					   End If%>>Solid Organ Unrelated Donors</option>

													<option value="Stem cell donors" <%If sPop_source="Stem cell donors" Then 

															Response.Write "selected='selected'" 

												   					   End If%>>Stem cell donors</option>

													<option value="Other" <%If sPop_source="Other" Then 

															Response.Write "selected='selected'" 

												   					   End If%>>Other</option>

												</select></td></tr></table>
                                                

	<tr><td>&nbsp;</td></tr>

<!-- Contact and Details -->
<tr>
	  <td></td>
	  <td colspan="2"><h4 style="color:#036; padding:3px">Contact and Details:</h4></td>
	  </tr>
	<tr><td>*</td><td>Corresponding Author:</td><td><input name="dis_corr_auth" type="text" id="dis_corr_auth" style="width:400px" size="105" maxlength="105" lang="1" onFocus="changeFieldColor(this,'white')"></td></tr>
    <tr><td></td></tr>
	<tr><td></td><td colspan="2"  style="text-align:justify; line-height:15px"><i>Please, enter a valid e-mail. It will be required in case dataset needs to be updated.<br/>We will not send you spam mails.</i></td></tr>
    <tr><td>*</td><td>E-mail:</td><td><input name="dis_email" type="text" id="dis_email" size="105" style="width:400px" maxlength="105" onBlur="ValidaEmail();" lang="1" onFocus="changeFieldColor(this,'white')"></td></tr>
   
	
<!-- References -->
	
	<tr><td></td><td>Authors:</td><td><textarea name="dis_authors" id="dis_authors" cols="60" rows="2"  style="width:400px"></textarea></td></tr>
	<tr><td></td><td colspan="2">e.g. Gonzalez-Galarza FF, Christmas S, Middleton D, Jones AR.</td></tr>
	<tr><td>*</td><td>Study Year:</td><td><select style="width:70px" name="dis_year" type="text" id="dis_year" lang="1" onFocus="changeFieldColor(this,'white')">
    <option value="<%Response.Write(Year(Date())-0)%>"><%Response.Write(Year(Date())-0)%></option>
<option value="<%Response.Write(Year(Date())-1)%>"><%Response.Write(Year(Date())-1)%></option>
<option value="<%Response.Write(Year(Date())-2)%>"><%Response.Write(Year(Date())-2)%></option>
<option value="<%Response.Write(Year(Date())-3)%>"><%Response.Write(Year(Date())-3)%></option>
<option value="<%Response.Write(Year(Date())-4)%>"><%Response.Write(Year(Date())-4)%></option>
<option value="<%Response.Write(Year(Date())-5)%>"><%Response.Write(Year(Date())-5)%></option>
<option value="<%Response.Write(Year(Date())-6)%>"><%Response.Write(Year(Date())-6)%></option>
<option value="<%Response.Write(Year(Date())-7)%>"><%Response.Write(Year(Date())-7)%></option>
<option value="<%Response.Write(Year(Date())-8)%>"><%Response.Write(Year(Date())-8)%></option>
<option value="<%Response.Write(Year(Date())-9)%>"><%Response.Write(Year(Date())-9)%></option>
<option value="<%Response.Write(Year(Date())-10)%>"><%Response.Write(Year(Date())-10)%></option>
<option value="<%Response.Write(Year(Date())-11)%>"><%Response.Write(Year(Date())-11)%></option>
<option value="<%Response.Write(Year(Date())-12)%>"><%Response.Write(Year(Date())-12)%></option>
<option value="<%Response.Write(Year(Date())-13)%>"><%Response.Write(Year(Date())-13)%></option>
<option value="<%Response.Write(Year(Date())-14)%>"><%Response.Write(Year(Date())-14)%></option>
<option value="<%Response.Write(Year(Date())-15)%>"><%Response.Write(Year(Date())-15)%></option>
<option value="<%Response.Write(Year(Date())-16)%>"><%Response.Write(Year(Date())-16)%></option>
<option value="<%Response.Write(Year(Date())-17)%>"><%Response.Write(Year(Date())-17)%></option>
<option value="<%Response.Write(Year(Date())-18)%>"><%Response.Write(Year(Date())-18)%></option>
<option value="<%Response.Write(Year(Date())-19)%>"><%Response.Write(Year(Date())-19)%></option>
<option value="<%Response.Write(Year(Date())-20)%>"><%Response.Write(Year(Date())-20)%></option>
<option value="<%Response.Write(Year(Date())-21)%>"><%Response.Write(Year(Date())-21)%></option>
<option value="<%Response.Write(Year(Date())-22)%>"><%Response.Write(Year(Date())-22)%></option>
<option value="<%Response.Write(Year(Date())-23)%>"><%Response.Write(Year(Date())-23)%></option>
<option value="<%Response.Write(Year(Date())-24)%>"><%Response.Write(Year(Date())-24)%></option>
<option value="<%Response.Write(Year(Date())-25)%>"><%Response.Write(Year(Date())-25)%></option>
<option value="<%Response.Write(Year(Date())-26)%>"><%Response.Write(Year(Date())-26)%></option>
<option value="<%Response.Write(Year(Date())-27)%>"><%Response.Write(Year(Date())-27)%></option>
<option value="<%Response.Write(Year(Date())-28)%>"><%Response.Write(Year(Date())-28)%></option>
<option value="<%Response.Write(Year(Date())-29)%>"><%Response.Write(Year(Date())-29)%></option>
<option value="<%Response.Write(Year(Date())-30)%>"><%Response.Write(Year(Date())-30)%></option>
<option value="<%Response.Write(Year(Date())-31)%>"><%Response.Write(Year(Date())-31)%></option>
<option value="<%Response.Write(Year(Date())-32)%>"><%Response.Write(Year(Date())-32)%></option>
	</select>
    </td></tr>
	<tr><td>&nbsp;</td></tr>

<!--AFND Population ID-->
    <tr><td>&nbsp;</td><td colspan="2"  style="text-align:justify; line-height:15px"><i>If your control sample has already been submitted to AFND, select its "Population Name". Click <a href="#" onclick="window.open('../kir_pop_ref.asp',

							'myWin4','personalbar=yes,toolbar=yes,directories=no,location=no,status=no,menubar=yes,resizable=yes,scrollbars=yes,width=770,height=400');return false;" target="_blank"> here</a> to check details of populations previously submitted).</i></td></tr>
		<tr><td></td><td>AFND Population Name:</td><td><select style="width:400px" name="pop_id" id="pop_id" lang="0" onFocus="changeFieldColor(this,'white')">
		<option value=" $ ">select population name</option>
																	   
<!-- #include File = "curOpenDB_01.asp" -->
<!-- #include File = "curOpenRS_01.asp" -->
<%
		strSQL = "SELECT pop_id, pop_name FROM populat WHERE pop_polyreg = 'KIR' ORDER BY pop_name"
		rsRecordset.Open strSQL, dbConnection
		If Not rsRecordset.EOF Then
			rsRecordset.MoveFirst
		End If
		While Not rsRecordset.EOF
			sPopid = Trim(rsRecordset("pop_id"))	
			sPopname = Trim(rsRecordset("pop_name"))
			
%>
		<option value="<%Response.Write(sPopid & "$" & sPopname)%>"><%Response.Write(sPopname)%></option>
<%
			rsRecordset.MoveNext
		Wend	
%>
<!-- #include File = "curCloseRS_01.asp" -->
<!-- #include File = "curCloseDB_01.asp" -->																	   
		</select></td></tr> 
 
 <!--PMID-->   
    <tr><td>&nbsp;</td></tr>		
	<tr><td></td><td colspan="2" style="text-align:justify; line-height:15px"><i>If your study has been published, please indicate its PMID (PubMed Reference ID):</i></td></tr>
	<tr><td></td><td>PMID:</td><td><input type="text" name="dis_pmid" id="dis_pmid" size="10" maxlength="10" onKeypress="return fctNumVal();"><i>&nbsp;&nbsp;&nbsp;Don't know how to locate PMID? Click<a href="#" onclick="window.open('pmid.html',
							'myWin4','personalbar=yes,toolbar=yes,directories=no,location=no,status=no,menubar=yes,resizable=yes,scrollbars=no,width=800px,height=600px,left=300,top=300');return false;" target="_blank">
							here</a></i>.</td></tr>
		<tr><td>&nbsp;</td></tr>
		<tr><td></td><td>Extra Notes:</td><td><textarea name="dis_extra_notes" id="dis_extra_notes" cols="60" rows="3" style="width:400px"></textarea></td></tr>
    <tr><td></td>
    <td colspan="2"  style="text-align:justify; line-height:15px"><i>"Extra Notes" field is optional, but there are some important informations you may add here if any of the following applies:<br/><ul><li>If your controls are defined as "Special Controls", specify the reason.</li><li>Your control sample is from a diferent location than patient sample.</li><li>Your publication is not assigned to a PMID.</li></ul>Additionally, feel free to add any other information you consider relevant.</i></td></tr>
    <tr><td></td>
    <tr><td>&nbsp;</td></tr>		
	
<!-- Submit -->
	
	<tr><td></td><td><font color="green">* Mandatory fields.</font></td></tr>
	<tr><td></td><td></td><td><input type="submit" name="dis_add" id="dis_add" value="Next" /></td></tr>
			
	</table>		
	</td>
	</tr>
<tr>
  <td>&nbsp;</td>
</tr>
</table>
</form>	
</div>			

<%'#---------------------------------------------------- END FORM --------------------------------------------------%>
</div>
<%'--------------------------------------#            END BORDER FRAMEWORK       #----------------------------------%>

<%'------------------------------------------#           FOOTER             #--------------------------------------%>
<div id="divGenFooter" align="center">
<label style="background-color:#b8cce4; border:solid 1px #006699; color:#006699; width:200; font:normal 11px Arial;">
 &copy;2012 Allele Frequencies Website.     </label>   <br /><br />
<b>Allele frequency net:</b> a database and online repository for immune gene frequencies in worldwide populations. <br />
Gonzalez-Galarza FF, Christmas S, Middleton D and Jones AR
<i>Nucleic Acid Research 2011, 39, D913-D919.</i><br />
Liverpool, U.K. <a href="mailto:support@allelefrequencies.net"><br /><br />support@allelefrequencies.net</a>
<br /><br />
<a href="http://validator.w3.org/check?uri=referer" target="_blank"><img src="http://www.w3.org/Icons/valid-xhtml10-blue" alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a></div>
<%'------------------------------------------#            END FOOTER       #--------------------------------------%>
</div>
<%'--------------------------------------#            END MAIN FRAMEWORK       #----------------------------------%>
</body>
</html>		

